package com.z.xhelper.core.events;

import com.z.xhelper.core.dao.ServiceSocketMsg;
import com.z.xhelper.core.eventbus.IEvent;



/**
 * 接收从socket发送的消息 用于发送消息
 */
public class MsgSendEvent extends IEvent<String> {

    @Override
    public void setContext(String context) {
        this.context = context;
    }

    public MsgSendEvent(String msg) {
        this.context = msg;
    }

    @Override
    public Class<?> getEventName() {
        return MsgSendEvent.class;
    }
}
